package composite.gk2;

/**
 * 顶级抽象类
 */
public abstract class GkAbstractCource {
    protected String name;
    protected String score;

    public GkAbstractCource(String name, String score) {
        this.name = name;
        this.score = score;
    }

    public abstract void info();

    @Override
    public String toString() {
        return "GkAbstractCource{" +
                "name='" + name + '\'' +
                ", score='" + score + '\'' +
                '}';
    }
}
